projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35bd22c
)
(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
author
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 14 Feb 2007 07:28:36 +0000
(07:28 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 14 Feb 2007 07:28:36 +0000
(07:28 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index cf319b374d905d5358cd6375b22298be2b67b0bb..c4763dfb3ec1a8fb3a1c661750cfefd9721e4e54 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-8426,6
+8426,11
@@
do_ewmh_fullscreen (f)
{
int have_net_atom = wm_supports (f, "_NET_WM_STATE");
+ /* Some window managers don't say they support _NET_WM_STATE, but they do say
+ they support _NET_WM_STATE_FULLSCREEN. Try that also. */
+ if (!have_net_atom)
+ have_net_atom = wm_supports (f, "_NET_WM_STATE_FULLSCREEN");
+
if (have_net_atom)
{
Lisp_Object frame;